package com.vito.oa.act.extend.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.vito.act.model.ActExProcessBranchModel;
import com.vito.act.model.ActExUserDefinedPro;
import com.vito.base.model.MyHashMap;
import com.vito.oa.act.extend.model.OaActEExBussDefModel;
import com.vito.oa.act.extend.model.OaActExUserDefinedPro;

public interface OaActExProcessBranchMapper{
	
	//分页查询
	List<ActExProcessBranchModel> queryActExProcessBranchByPage(ActExProcessBranchModel userDefinedPro);
	Integer queryActExProcessBranchByPageCount(ActExProcessBranchModel userDefinedPro);
		
	void saveSubProcessSet(Map<String,Object> map);
	int saveSubProcessSetSelect(Map<String,Object> map);
	public List<Map<String,Object>> querySubSet(Map<String,String> map);
	//修改
	public Integer updActExUserDefined(ActExUserDefinedPro userDefinedPro);
	
	public Integer deleteActExUserDefined(ActExUserDefinedPro userDefinedPro);
	

	void delActExProcessBranchModel(ActExProcessBranchModel processBranchModel);
	//启用或禁用

	void updActExProcessBranchModel(ActExProcessBranchModel processBranchModel);
	/**
	 * 将条件字段修改为流程中参数
	 * @param processBranchModel
	 * @return
	 */
	public int updActExTableCols(ActExProcessBranchModel processBranchModel);
	/**
	 * 删除分支流程制定处理人信息
	 * @param processBranchModel
	 * @return
	 */
	public int delActExProcessBranchUser(ActExProcessBranchModel processBranchModel);

	public String selectActExUserDefinedId(OaActExUserDefinedPro userDefinedPro);
	//新增
	public int saveActExUserDefined(OaActExUserDefinedPro userDefinedPro);
	
	public List<OaActEExBussDefModel> queryActBussSubSetByPage(OaActEExBussDefModel actEexBussDefModel);
	public List<MyHashMap<String, String>> getUserImgs(OaActExUserDefinedPro userDefinedPro);
	public List<MyHashMap<String, String>> trUserInfo(@Param("items")List<Map<String, String>> data);
}




